from pandas import DataFrame

datas={}

def student():
    result=[]
    from src.backend.db.database import SQLite
    sql = SQLite()
    publish=sql.query()
    stus =''
    result.append(stus)
    result.append(publish)

def knowledge():
    pass

def testpaper():

    pass

def knowledgecount(name,start_date,end_date,type:int,level:int)->DataFrame:
    from src.backend.service.knowledgecount import count_correct
    return count_correct(name,start_date,end_date,type,level)

def classroom():
    from src.backend.service.classroom import fetch_classroom
    return fetch_classroom()

def topic_level():
    from src.backend.service.testpaper import topic_level
    return topic_level()

def topic_category():
    from src.backend.service.testpaper import topic_category
    return topic_category()



